import React, {Component} from 'react'
import {View, Text} from 'react-native'
import LoginPage from './login_part/login_page'

export default class MainPage extends Component{
    static navigationOptions = {
        title: 'main',//设置标题内容
        headerTitle:'我是主页面'
    };
    render(){
        return(
            <View>
                <Text style={{fontSize:16, color:'#ff0000'}} onPress={LoginPage.toast}>主页</Text>
            </View>
        )
    }
}